<div id = "filters">
	<%= add_filter_link "Create new", nil %>

	<% @filters.each do |filter| %>
		<div id = <%= "filter" + filter.id.to_s %>>
			<%= filter.car_brand_name + ", " + filter.car_model_name + ", " + filter.start_year_name + " to " + filter.end_year_name + ", "  + filter.parts_group_name + ", " + filter.engine_type_name + ", " + filter.gearbox_type_name %>
			<%= link_to 'Delete', "/suppliers/filters/" + filter.id.to_s, :method => :delete %>		
			<%= add_filter_link "Create like", filter.id %>
		</div>
	<% end %>
</div>
